<?php /* Smarty version 2.6.16, created on 2011-09-15 18:45:28
         compiled from timing.tpl */ ?>
<div class="right-panel">
      <div ><h1 title="My Game">Timings</h1></div>
      <div class="clear"></div>
	  <div class="view"><a href="timing_update.php">Add</a></div>
	 <?php if ($this->_tpl_vars['Numtime'] > 0): ?>
	  <?php unset($this->_sections['timeRow']);
$this->_sections['timeRow']['name'] = 'timeRow';
$this->_sections['timeRow']['loop'] = is_array($_loop=$this->_tpl_vars['timeArr']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['timeRow']['show'] = true;
$this->_sections['timeRow']['max'] = $this->_sections['timeRow']['loop'];
$this->_sections['timeRow']['step'] = 1;
$this->_sections['timeRow']['start'] = $this->_sections['timeRow']['step'] > 0 ? 0 : $this->_sections['timeRow']['loop']-1;
if ($this->_sections['timeRow']['show']) {
    $this->_sections['timeRow']['total'] = $this->_sections['timeRow']['loop'];
    if ($this->_sections['timeRow']['total'] == 0)
        $this->_sections['timeRow']['show'] = false;
} else
    $this->_sections['timeRow']['total'] = 0;
if ($this->_sections['timeRow']['show']):

            for ($this->_sections['timeRow']['index'] = $this->_sections['timeRow']['start'], $this->_sections['timeRow']['iteration'] = 1;
                 $this->_sections['timeRow']['iteration'] <= $this->_sections['timeRow']['total'];
                 $this->_sections['timeRow']['index'] += $this->_sections['timeRow']['step'], $this->_sections['timeRow']['iteration']++):
$this->_sections['timeRow']['rownum'] = $this->_sections['timeRow']['iteration'];
$this->_sections['timeRow']['index_prev'] = $this->_sections['timeRow']['index'] - $this->_sections['timeRow']['step'];
$this->_sections['timeRow']['index_next'] = $this->_sections['timeRow']['index'] + $this->_sections['timeRow']['step'];
$this->_sections['timeRow']['first']      = ($this->_sections['timeRow']['iteration'] == 1);
$this->_sections['timeRow']['last']       = ($this->_sections['timeRow']['iteration'] == $this->_sections['timeRow']['total']);
?>
      <div class="game-list">
       <div class="game-details">
	        <div>Time Slot : <?php echo $this->_tpl_vars['timeArr'][$this->_sections['timeRow']['index']]['slot']; ?>
</div>
			
			<div style="padding-top:5px;">Time: <?php echo $this->_tpl_vars['timeArr'][$this->_sections['timeRow']['index']]['time_from']; ?>
 - <?php echo $this->_tpl_vars['timeArr'][$this->_sections['timeRow']['index']]['time_to']; ?>
</div>
           
            <div class="clear"></div>
            <div style="width:100%"><div class="view"><a href="timing.php?action=delete&timing_id=<?php echo $this->_tpl_vars['timeArr'][$this->_sections['timeRow']['index']]['timing_id']; ?>
">Delete</a></div>
			<div class="view" style="margin-right:5px;"><a href="timing_update.php?timing_id=<?php echo $this->_tpl_vars['timeArr'][$this->_sections['timeRow']['index']]['timing_id']; ?>
">Edit</a></div></div>
         </div>
         <div class="clear"></div>
      </div>
      <?php endfor; endif; ?>
	  <?php else: ?>
	    <div class="game-details"> No game found </div>
     <?php endif; ?>
      <div class="clear"></div>
      
   </div>